<%var body = {
	var formId = 'detailForm' + object.code;
%>
 <link rel="stylesheet" href="${STATIC!}/ui2/css/admin.css" media="all">
      <link href="${CDN!STATIC!}/plugins/umeditor/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
   <script type="text/javascript" charset="utf-8" src="${CDN!STATIC!}/plugins/umeditor/umeditor.config.js"></script>
  <script type="text/javascript" charset="utf-8" src="${CDN!STATIC!}/plugins/umeditor/umeditor.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
  <script type="text/javascript" charset="utf-8" src="${CDN!STATIC!}/plugins/umeditor/lang/zh-cn/zh-cn.js"></script>
<body>

<#form_lay id="${formId}" type="detail" objectCode="${object.code}" data="${record!}" fixed="${fixed!}"  object="${object}" view="true" />


<script type="text/javascript">
$(function(){
	// 禁用表单，注销事件，仅供查看
	$(document).ready(function(){
		$(this).find('input,textarea,select').attr('disabled','');
		$(this).find('input,i,div').unbind();
	});
});

var submitNow = function(data) {
	var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
	parent.layer.close(index);
};



</script>
<%if(!isEmpty(object.diy_js!)){%>
<script type="text/javascript" src="${object.diy_js}"></script>
<%}%>
</body>
<%};include("/eova/layout/default_lay.html",{'title' : object.name + '详情', 'layoutContent' : body, 'isEditor' : true,'type':'detail'}){}%>